.contract-page {
  background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}
.container {
  max-width: 1200px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.form-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  //   padding: 40px 30px;
  padding: 20px 30px 30px;
  width: 100%;
  max-width: 800px;
  transition: all 0.3s ease;
}
.newImage {
  width: 100%;
  height: 320rpx;
}

.tech-info {
  display: flex;
  padding: 10px;
  justify-content: space-around;
  margin-bottom: 20px;
  font-size: 20px;
  font-weight: 500;
}

.step-indicator {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
  position: relative;
}

.step-indicator::before {
  content: "";
  position: absolute;
  top: 15px;
  left: 0;
  right: 0;
  height: 4px;
  background: #e0e0e0;
  z-index: 1;
}

.progress-bar {
  position: absolute;
  top: 15px;
  left: 0;
  height: 4px;
  background: #4caf50;
  z-index: 2;
  transition: width 0.5s ease;
  width: var(--progress);
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 3;
  position: relative;
}

.step-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #e0e0e0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  color: #fff;
  font-weight: bold;
  transition: all 0.3s ease;
}

.step.active .step-icon {
  background: linear-gradient(to right, #6a11cb, #2575fc);
  box-shadow: 0 4px 10px rgba(106, 17, 203, 0.4);
}

.step.completed .step-icon {
  background: #4caf50;
}

.step-label {
  font-size: 14px;
  color: #666;
  text-align: center;
}

.step.active .step-label {
  color: #6a11cb;
  font-weight: 600;
}

.step.completed .step-label {
  color: #4caf50;
}

.step-content {
  //   display: none;
  animation: fadeIn 0.5s ease;
}

.step-content.active {
  display: block;
}

.step-title {
  text-align: center;
  margin-bottom: 30px;
  color: #333;
}

.upload-area {
  border: 2px dashed #6a11cb;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  margin-bottom: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  background: rgba(106, 17, 203, 0.05);
}

.upload-area:hover {
  background: rgba(106, 17, 203, 0.1);
}

.upload-icon {
  font-size: 48px;
  color: #6a11cb;
  margin-bottom: 15px;
}

.upload-text {
  color: #666;
  margin-bottom: 10px;
}

.upload-hint {
  font-size: 14px;
  color: #999;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: #555;
  font-weight: 700;
}

.form-control {
  width: 100%;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 10px;
  font-size: 16px;
  transition: border-color 0.3s;
}

.form-control:focus {
  border-color: #6a11cb;
  outline: none;
  box-shadow: 0 0 0 2px rgba(106, 17, 203, 0.2);
}

.id-upload-container {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

.id-upload {
  flex: 1;
  border: 2px dashed #6a11cb;
  border-radius: 12px;
  padding: 30px 15px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  background: rgba(106, 17, 203, 0.05);

  display: flex;
  justify-content: center;
  align-items: center;
}

.id-upload:hover {
  background: rgba(106, 17, 203, 0.1);
}

.id-label {
  margin-top: 10px;
  font-weight: 500;
  color: #333;
}

.sign-mode-options {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

.sign-mode-option {
  flex: 1;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  padding: 25px 15px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.sign-mode-option:hover {
  border-color: #6a11cb;
  background: rgba(106, 17, 203, 0.05);
}

.sign-mode-option.active {
  border-color: #6a11cb;
  background: rgba(106, 17, 203, 0.1);
}

.sign-mode-icon {
  font-size: 36px;
  color: #6a11cb;
  margin-bottom: 15px;
}

.sign-mode-title {
  font-weight: 600;
  margin-bottom: 10px;
  color: #333;
}

.sign-mode-desc {
  font-size: 14px;
  color: #666;
}

.form-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
}

.btn {
  padding: 12px 30px;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-prev {
  background: #f0f0f0;
  color: #333;
}

.btn-prev:hover {
  background: #e0e0e0;
}

.btn-next {
  background: linear-gradient(to right, #6a11cb, #2575fc);
  color: white;
  box-shadow: 0 4px 15px rgba(106, 17, 203, 0.4);
}

.btn-next:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(106, 17, 203, 0.5);
}

.btn-submit {
  background: linear-gradient(to right, #4caf50, #45a049);
  color: white;
  box-shadow: 0 4px 15px rgba(76, 175, 80, 0.4);
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(76, 175, 80, 0.5);
}

.input-with-button {
  display: flex;
}

.input {
  flex: 1;
  border: 1px solid #ddd;
  border-radius: 10px 0 0 10px;
  padding: 12px;
  font-size: 16px;
  outline: none;
  transition: border-color 0.3s;
}

.input-with-button .button {
  line-height: 3;
  background: #f0f0f0;
  border: 1px solid #ddd;
  border-left: none;
  border-radius: 0 10px 10px 0;
  padding: 0 20px;
  cursor: pointer;
  font-size: 14px;
  color: #6a11cb;
  transition: all 0.3s;
  white-space: nowrap;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .form-card {
    padding: 20px 20px 30px;
  }

  .id-upload-container,
  .sign-mode-options {
    flex-direction: column;
  }

  .step-label {
    font-size: 12px;
  }
}

.sign-status {
  display: flex;
}

.sign-auth {
  font-size: 14px;
  color: #666;
  padding: 4px 8px;
  border-radius: 4px;
  background-color: #f8f9fa;
}

.sign-status-0 {
  background-color: #fffbed;
  color: #f59e0b;
}
.sign-status-1 {
  background-color: #e0f2fe;
  color: #0284c7;
}
.sign-status-2 {
  background-color: #ecfdf5;
  color: #16a34a;
}
.sign-status-3 {
  background-color: #fef7ff;
  color: #c026d3;
}
.sign-status-4 {
  background-color: #fef2f2;
  color: #ef4444;
}

@media (max-width: 768px) {
  .tech-info {
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
  }
  .sign-status {
    padding-top: 10px;
    justify-content: space-between;
  }
}
